package com.hrt.datasender.datadao.model;

import java.util.List;
import java.util.UUID;

import com.btcode.orm.model.IDomainField;
import com.btcode.orm.model.IField;
import com.btcode.orm.model.IModelAddition;
import com.btcode.orm.relation.ex.IRelation;

public class BcSiteModelAddition implements IModelAddition<BcSiteModel> {

    @Override
    public void generateDefaultValue(BcSiteModel model) {

        if (model.getId() == null || model.getId().trim().equals("")) {
            model.setId(UUID.randomUUID().toString());
        }

    }

    @Override
    public void initField(List<IField> fields) {
        // TODO Auto-generated method stub

    }

    @Override
    public void initRelations(List<IRelation> relations) {
        // TODO Auto-generated method stub

    }

    @Override
    public void initDomainField(List<IDomainField> domainFields) {
        // TODO Auto-generated method stub

    }

    @Override
    public void beforeCreate(BcSiteModel model) {
        // TODO Auto-generated method stub

    }

    @Override
    public void afterCreate(BcSiteModel model) {
        // TODO Auto-generated method stub

    }

    @Override
    public void beforeUpdate(BcSiteModel model) {
        // TODO Auto-generated method stub

    }

    @Override
    public void afterUpdate(BcSiteModel model) {
        // TODO Auto-generated method stub

    }

    @Override
    public void beforeDelete(BcSiteModel model) {
        // TODO Auto-generated method stub

    }

    @Override
    public void afterDelete(BcSiteModel model) {
        // TODO Auto-generated method stub

    }

}
